Optimal. Leaf size=552 \[ \frac {\sqrt {3} b^{2/3} \text {ArcTan}\left (\frac {1}{\sqrt {3}}-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right ) \sqrt [3]{d \sec (e+f x)}}{2 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\sqrt {3} b^{2/3} \text {ArcTan}\left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right ) \sqrt [3]{d \sec (e+f x)}}{2 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [3]{d \sec (e+f x)}}{\left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}+\frac {b^{2/3} \log \left (\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [3]{d \sec (e+f x)}}{4 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {b^{2/3} \log \left (\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [3]{d \sec (e+f x)}}{4 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}+\frac {F_1\left (\frac {1}{2};1,\frac {5}{6};\frac {3}{2};\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [3]{d \sec (e+f x)} \tan (e+f x)}{a f \sqrt [6]{\sec ^2(e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.54, antiderivative size = 552, normalized size of antiderivative = 1.00, number of steps
used = 16, number of rules used = 11, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.440, Rules used = {3593, 771,
440, 455, 65, 216, 648, 632, 210, 642, 214} \begin {gather*} \frac {\tan (e+f x) \sqrt [3]{d \sec (e+f x)} F_1\left (\frac {1}{2};1,\frac {5}{6};\frac {3}{2};\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right )}{a f \sqrt [6]{\sec ^2(e+f x)}}+\frac {\sqrt {3} b^{2/3} \sqrt [3]{d \sec (e+f x)} \text {ArcTan}\left (\frac {1}{\sqrt {3}}-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right )}{2 f \left (a^2+b^2\right )^{5/6} \sqrt [6]{\sec ^2(e+f x)}}-\frac {\sqrt {3} b^{2/3} \sqrt [3]{d \sec (e+f x)} \text {ArcTan}\left (\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}+\frac {1}{\sqrt {3}}\right )}{2 f \left (a^2+b^2\right )^{5/6} \sqrt [6]{\sec ^2(e+f x)}}+\frac {b^{2/3} \sqrt [3]{d \sec (e+f x)} \log \left (-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+\sqrt [3]{a^2+b^2}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right )}{4 f \left (a^2+b^2\right )^{5/6} \sqrt [6]{\sec ^2(e+f x)}}-\frac {b^{2/3} \sqrt [3]{d \sec (e+f x)} \log \left (\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+\sqrt [3]{a^2+b^2}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right )}{4 f \left (a^2+b^2\right )^{5/6} \sqrt [6]{\sec ^2(e+f x)}}-\frac {b^{2/3} \sqrt [3]{d \sec (e+f x)} \tanh ^{-1}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right )}{f \left (a^2+b^2\right )^{5/6} \sqrt [6]{\sec ^2(e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 210
Rule 214
Rule 216
Rule 440
Rule 455
Rule 632
Rule 642
Rule 648
Rule 771
Rule 3593
Rubi steps
\begin {align*} \int \frac {\sqrt [3]{d \sec (e+f x)}}{a+b \tan (e+f x)} \, dx &=\frac {\sqrt [3]{d \sec (e+f x)} \text {Subst}\left (\int \frac {1}{(a+x) \left (1+\frac {x^2}{b^2}\right )^{5/6}} \, dx,x,b \tan (e+f x)\right )}{b f \sqrt [6]{\sec ^2(e+f x)}}\\ &=\frac {\sqrt [3]{d \sec (e+f x)} \text {Subst}\left (\int \left (\frac {a}{\left (a^2-x^2\right ) \left (1+\frac {x^2}{b^2}\right )^{5/6}}+\frac {x}{\left (-a^2+x^2\right ) \left (1+\frac {x^2}{b^2}\right )^{5/6}}\right ) \, dx,x,b \tan (e+f x)\right )}{b f \sqrt [6]{\sec ^2(e+f x)}}\\ &=\frac {\sqrt [3]{d \sec (e+f x)} \text {Subst}\left (\int \frac {x}{\left (-a^2+x^2\right ) \left (1+\frac {x^2}{b^2}\right )^{5/6}} \, dx,x,b \tan (e+f x)\right )}{b f \sqrt [6]{\sec ^2(e+f x)}}+\frac {\left (a \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\left (a^2-x^2\right ) \left (1+\frac {x^2}{b^2}\right )^{5/6}} \, dx,x,b \tan (e+f x)\right )}{b f \sqrt [6]{\sec ^2(e+f x)}}\\ &=\frac {F_1\left (\frac {1}{2};1,\frac {5}{6};\frac {3}{2};\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [3]{d \sec (e+f x)} \tan (e+f x)}{a f \sqrt [6]{\sec ^2(e+f x)}}+\frac {\sqrt [3]{d \sec (e+f x)} \text {Subst}\left (\int \frac {1}{\left (-a^2+x\right ) \left (1+\frac {x}{b^2}\right )^{5/6}} \, dx,x,b^2 \tan ^2(e+f x)\right )}{2 b f \sqrt [6]{\sec ^2(e+f x)}}\\ &=\frac {F_1\left (\frac {1}{2};1,\frac {5}{6};\frac {3}{2};\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [3]{d \sec (e+f x)} \tan (e+f x)}{a f \sqrt [6]{\sec ^2(e+f x)}}+\frac {\left (3 b \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-a^2-b^2+b^2 x^6} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{f \sqrt [6]{\sec ^2(e+f x)}}\\ &=\frac {F_1\left (\frac {1}{2};1,\frac {5}{6};\frac {3}{2};\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [3]{d \sec (e+f x)} \tan (e+f x)}{a f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\left (b \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {\sqrt [6]{a^2+b^2}-\frac {\sqrt [3]{b} x}{2}}{\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{\left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\left (b \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {\sqrt [6]{a^2+b^2}+\frac {\sqrt [3]{b} x}{2}}{\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{\left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\left (b \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a^2+b^2}-b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{\left (a^2+b^2\right )^{2/3} f \sqrt [6]{\sec ^2(e+f x)}}\\ &=-\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [3]{d \sec (e+f x)}}{\left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}+\frac {F_1\left (\frac {1}{2};1,\frac {5}{6};\frac {3}{2};\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [3]{d \sec (e+f x)} \tan (e+f x)}{a f \sqrt [6]{\sec ^2(e+f x)}}+\frac {\left (b^{2/3} \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {-\sqrt [3]{b} \sqrt [6]{a^2+b^2}+2 b^{2/3} x}{\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{4 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\left (b^{2/3} \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{b} \sqrt [6]{a^2+b^2}+2 b^{2/3} x}{\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{4 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\left (3 b \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{4 \left (a^2+b^2\right )^{2/3} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\left (3 b \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{4 \left (a^2+b^2\right )^{2/3} f \sqrt [6]{\sec ^2(e+f x)}}\\ &=-\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [3]{d \sec (e+f x)}}{\left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}+\frac {b^{2/3} \log \left (\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [3]{d \sec (e+f x)}}{4 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {b^{2/3} \log \left (\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [3]{d \sec (e+f x)}}{4 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}+\frac {F_1\left (\frac {1}{2};1,\frac {5}{6};\frac {3}{2};\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [3]{d \sec (e+f x)} \tan (e+f x)}{a f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\left (3 b^{2/3} \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right )}{2 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}+\frac {\left (3 b^{2/3} \sqrt [3]{d \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right )}{2 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}\\ &=\frac {\sqrt {3} b^{2/3} \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}}{\sqrt {3}}\right ) \sqrt [3]{d \sec (e+f x)}}{2 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {\sqrt {3} b^{2/3} \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}}{\sqrt {3}}\right ) \sqrt [3]{d \sec (e+f x)}}{2 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [3]{d \sec (e+f x)}}{\left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}+\frac {b^{2/3} \log \left (\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [3]{d \sec (e+f x)}}{4 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}-\frac {b^{2/3} \log \left (\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [3]{d \sec (e+f x)}}{4 \left (a^2+b^2\right )^{5/6} f \sqrt [6]{\sec ^2(e+f x)}}+\frac {F_1\left (\frac {1}{2};1,\frac {5}{6};\frac {3}{2};\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [3]{d \sec (e+f x)} \tan (e+f x)}{a f \sqrt [6]{\sec ^2(e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 23.66, size = 280, normalized size = 0.51 \begin {gather*} -\frac {48 d^2 F_1\left (\frac {5}{3};\frac {5}{6},\frac {5}{6};\frac {8}{3};\frac {a-i b}{a+b \tan (e+f x)},\frac {a+i b}{a+b \tan (e+f x)}\right ) (a+b \tan (e+f x))}{5 b f (d \sec (e+f x))^{5/3} \left (5 (a+i b) F_1\left (\frac {8}{3};\frac {5}{6},\frac {11}{6};\frac {11}{3};\frac {a-i b}{a+b \tan (e+f x)},\frac {a+i b}{a+b \tan (e+f x)}\right )+5 (a-i b) F_1\left (\frac {8}{3};\frac {11}{6},\frac {5}{6};\frac {11}{3};\frac {a-i b}{a+b \tan (e+f x)},\frac {a+i b}{a+b \tan (e+f x)}\right )+16 F_1\left (\frac {5}{3};\frac {5}{6},\frac {5}{6};\frac {8}{3};\frac {a-i b}{a+b \tan (e+f x)},\frac {a+i b}{a+b \tan (e+f x)}\right ) (a+b \tan (e+f x))\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.00, size = 0, normalized size = 0.00 \[\int \frac {\left (d \sec \left (f x +e \right )\right )^{\frac {1}{3}}}{a +b \tan \left (f x +e \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [3]{d \sec {\left (e + f x \right )}}}{a + b \tan {\left (e + f x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{1/3}}{a+b\,\mathrm {tan}\left (e+f\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________